//
//  QMainHeadView.h
//  QoilPublic
//
//  Created by 杨凯 on 16/7/1.
//  Copyright © 2016年 杨凯. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ScrollIndexDelegate <NSObject>

- (void)scrollIndexWith:(NSInteger)index;

@end

@interface QMainHeadView : UIView<UIScrollViewDelegate>

@property (strong,nonatomic)UIScrollView *scrollView;
@property (strong,nonatomic)NSMutableArray *imageData;
@property (strong,nonatomic)UIPageControl *pageControl;

@property(nonatomic,assign)id<ScrollIndexDelegate>delegate;

@end
